import { Request } from 'express';
import { req_cur_headers_info } from '../../../Classes/cla_req_cur_headers_info';

const req_info_typeTag = 'req_info_type';

/**
 * 用户 当前 元 的 id
 */
export const prop_type_target_id = 'target_uni_id';

export class req_info_type extends req_cur_headers_info {
  get [Symbol.toStringTag]() {
    return req_info_typeTag;
  }

  constructor(req: Request) {
    super(req);

    let req_body = req.body;

    this[prop_type_target_id] = req_body[prop_type_target_id];
  }

  [prop_type_target_id]: string;
}
